package com.wgts.wgts.mvp.model.imp;

import com.wgts.wgts.mvp.model.IAddPutForwardActivityModel;
import com.wgts.wgts.netmodle.HttpResultSubscriber;
import com.wgts.wgts.netmodle.NetService;
import com.wgts.wgts.netmodle.req.AddPutForwardReq;
import com.wgts.wgts.netmodle.resp.PutForwardTypeEntity;

public class AddPutForwardActivityModel implements IAddPutForwardActivityModel {

    private NetService netService;

    public AddPutForwardActivityModel(NetService netService) {
        this.netService = netService;
    }


    @Override
    public void addPutForward(AddPutForwardReq req, HttpResultSubscriber<PutForwardTypeEntity> subscriber) {
        netService.addForWard(req, subscriber);
    }
}
